	<div id="mainContent">
	<script type="text/javascript" src="scripts/signUpValidation.js"></script>
		<div class="content">
			<h3>ENREGISTREMENT :</h3>
			<div class="signup">
				<form name="SIGNUPFORM" method="post" action="index.php?control=user&action=signup">
				<table>
					<tr>
						<td>Nom : *</td>
						<td><input type="text" name="NOM" placeholder="Votre nom" required/></td>
						<td class="error"></td>
					</tr>
					<tr>
						<td>Prénom : *</td>
						<td><input type="text" name="PRENOM" placeholder="Votre prénom" required/></td>
						<td class="error"></td>
					</tr>
					<tr>
						<td>Adresse email : *</td>
						<td><input type="email" name="ADRESSEMAIL" placeholder="Adresse e-mail valide" required/></td>
						<td class="error"></td>
					</tr>
					<tr>
						<td>Pseudo : *</td>
						<td><input type="text" name="PSEUDO" placeholder="Votre pseudo" required/></td>
						<td class="error"></td>
					</tr>
					<tr>
						<td>Mot de passe : *</td>
						<td><input type="password" name="PASSWORD" placeholder="Votre mot de passe" required/></td>
						<td class="error"></td>
					</tr>
					<tr>
						<td>Retapez le mot de passe : *</td>
						<td><input type="password" name="PASSWORD2" placeholder="Votre mot de passe" required/></td>
						<td class="error"></td>
					</tr>
					<tr>
						<td>Date de naissance :</td>
						<td>
							<select name="JOUR">
								<option value="default">Jour :</option>
								<?php 
									for($i=1;$i<=31;$i++)
										echo '<option value="'.$i.'">'.$i.'</option>';
								?>
							</select>
							<select name="MOIS">
								<option value="default">Mois :</option>
								<option value="1">Janvier</option>
								<option value="2">Février</option>
								<option value="3">Mars</option>
								<option value="4">Avril</option>
								<option value="5">Mai</option>
								<option value="6">Juin</option>
								<option value="7">Juillet</option>
								<option value="8">Août</option>
								<option value="9">Septembre</option>
								<option value="10">Octobre</option>
								<option value="11">Novembre</option>
								<option value="12">Décembre</option>
							</select>
							<select name="ANNEE">
								<option value="default">Annee :</option>
								<?php 
									$current_year = date('Y');
									for($i=$current_year;$i>$current_year-60; $i--)
										echo '<option value="'.$i.'">'.$i.'</option>';
								?>
							</select>
						</td>
						<td class="error"></td>
					</tr>
					<tr>
						<td>Votre promotion :
						</td>
						<td>	<select name="PROMOTION">
									<?php 
									
									for($i=$current_year+3;$i>$current_year-50; $i--)
										echo '<option value="'.$i.'">'.$i.'</option>';
									?>
								</select>
						</td>
						<td class="error"></td>
					</tr>
					<tr>
						<td>Votre formation :
						</td>
						<td>	<select name="FORMATION">
									<?php 
									foreach($params['formations'] as $formation) {
										echo '<option value="'.$formation['IDFORMATION'].'">'.$formation['LIBFORMATION'].'</option>';
									}?>
								</select>
						</td>
						<td class="error"></td>
					</tr>
					<tr>
						<td></td>
						<td>&nbsp;</td>
					</tr>
					
				</table>
				
				<input type="submit" name="SIGNUPBUTTON" value="S'enregistrer"/>
				</form>
				<p>(*) champ requis</p>
				<hr/>
			
			</div>
		</div>
	</div>